#ifndef SCEMPEG_H
#define SCEMPEG_H

#include "../hle.h"

void sceMpegQueryStreamOffset();
void sceMpegQueryStreamSize();
void sceMpegInit();
void sceMpegFinish();
void sceMpegQueryMemSize();
void sceMpegCreate();
void sceMpegDelete();
void sceMpegRegistStream();
void sceMpegMallocAvcEsBuf();
void sceMpegQueryAtracEsSize();
void sceMpegInitAu();
void sceMpegGetAvcAu();
void sceMpegGetAtracAu();
void sceMpegFlushAllStream();
void sceMpegAvcDecode();
void sceMpegAvcDecodeMode();
void sceMpegAvcDecodeStop();
void sceMpegAvcQueryYCbCrSize();
void sceMpegAvcInitYCbCr();
void sceMpegAtracDecode();
void sceMpegRingbufferQueryMemSize();
void sceMpegRingbufferConstruct();
void sceMpegRingbufferDestruct();
void sceMpegRingbufferPut();
void sceMpegRingbufferAvailableSize();

LIB_START(sceMpeg)
LIB_ADDFUNC(0x21ff80e4, sceMpegQueryStreamOffset)
LIB_ADDFUNC(0x611e9e11, sceMpegQueryStreamSize)
LIB_ADDFUNC(0x682a619b, sceMpegInit)
LIB_ADDFUNC(0x874624d6, sceMpegFinish)
LIB_ADDFUNC(0xc132e22f, sceMpegQueryMemSize)
LIB_ADDFUNC(0xd8c5f121, sceMpegCreate)
LIB_ADDFUNC(0x606a4649, sceMpegDelete)
LIB_ADDFUNC(0x42560f23, sceMpegRegistStream)
LIB_ADDFUNC(0xa780cf7e, sceMpegMallocAvcEsBuf)
LIB_ADDFUNC(0xf8dcb679, sceMpegQueryAtracEsSize)
LIB_ADDFUNC(0x167afd9e, sceMpegInitAu)
LIB_ADDFUNC(0xfe246728, sceMpegGetAvcAu)
LIB_ADDFUNC(0xe1ce83a7, sceMpegGetAtracAu)
LIB_ADDFUNC(0x707b7629, sceMpegFlushAllStream)
LIB_ADDFUNC(0x0e3c2e9d, sceMpegAvcDecode)
LIB_ADDFUNC(0xa11c7026, sceMpegAvcDecodeMode)
LIB_ADDFUNC(0x740fccd1, sceMpegAvcDecodeStop)
LIB_ADDFUNC(0x211a057c, sceMpegAvcQueryYCbCrSize)
LIB_ADDFUNC(0x67179b1b, sceMpegAvcInitYCbCr)
LIB_ADDFUNC(0x800c44df, sceMpegAtracDecode)
LIB_ADDFUNC(0xd7a29f46, sceMpegRingbufferQueryMemSize)
LIB_ADDFUNC(0x37295ed8, sceMpegRingbufferConstruct)
LIB_ADDFUNC(0x13407f13, sceMpegRingbufferDestruct)
LIB_ADDFUNC(0xb240a59e, sceMpegRingbufferPut)
LIB_ADDFUNC(0xb5f6dc87, sceMpegRingbufferAvailableSize)
LIB_END

#endif
